CLI: Update Go SDK to c223294ecc21cee581e9095306b75f069cfd92b8#140
Open
kernel-internal[bot] wants to merge 3 commits intomainfrom
Open
CLI: Update Go SDK to c223294ecc21cee581e9095306b75f069cfd92b8#140kernel-internal[bot] wants to merge 3 commits intomainfrom
kernel-internal[bot] wants to merge 3 commits intomainfrom
Conversation
…issing flags Keep the CLI aligned with the latest kernel-go-sdk release while exposing browser process env/TTY options and browser pool chrome policy support that were already present in the SDK. Tested: go test ./cmd/... && go build ./... Tested: kernel browsers process exec --env Tested: kernel browsers process spawn --allocate-tty --cols --rows --env Tested: kernel browser-pools create/update --chrome-policy Made-with: Cursor
…issing flags Align the CLI with the latest kernel-go-sdk by exposing browser default stealth proxy control and the new proxy health check URL parameter. This also updates the CLI dependency to the SDK release that includes these API changes. Tested: go test ./cmd ./cmd/proxies -run 'TestBrowsersUpdate_|TestProxyCheck_' Tested: go build ./... Tested: /tmp/kernel-cli/bin/kernel browsers create --headless --stealth -t 30 -o json Tested: /tmp/kernel-cli/bin/kernel browsers update <session_id> --disable-default-proxy -o json Tested: /tmp/kernel-cli/bin/kernel proxies create --type datacenter --country US --name <name> -o json Tested: /tmp/kernel-cli/bin/kernel proxies check <proxy_id> --url https://example.com -o json Made-with: Cursor
Bring the CLI onto the latest kernel-go-sdk release so it stays aligned with the updated SDK. A full SDK/CLI coverage audit found no missing commands or flags; tested with `go build ./...`. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Go SDK dependency to the latest version.
SDK Update
kernel-go-sdktoc223294ecc21cee581e9095306b75f069cfd92b8(go getresolved this commit to released versionv0.47.0)Coverage Analysis
A full enumeration of SDK methods and CLI commands was performed. No coverage gaps were found.
Triggered by:
kernel/kernel-go-sdk@c223294ecc21cee581e9095306b75f069cfd92b8Reviewer: @stainless-app[bot]
Note
Medium Risk
Moderate risk due to the
kernel-go-sdkversion bump and new request-parameter mapping/validation for browser updates, process spawning, and proxy checks, which could alter runtime CLI behavior. Changes are largely additive and covered by new unit tests.Overview
Updates the CLI to
github.com/kernel/kernel-go-sdk v0.47.0and wires through several newly supported API parameters.Adds
--chrome-policy(validated JSON object) tobrowser-pools create/update, includes it in API requests, and displays it inbrowser-pools get. Extendsbrowsers updatewith--disable-default-proxy, and enhancesbrowsers process exec/spawnwith repeatable--envplusspawnsupport for--allocate-ttyand optional--cols/--rowsvalidation.Extends
proxies checkwith an optional--urlflag by passingProxyCheckParamsthrough the service interface, and adds unit tests covering the new flag-to-parameter mappings.Reviewed by Cursor Bugbot for commit 69570a7. Bugbot is set up for automated code reviews on this repo. Configure here.